<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::DiffusionReactionParticles&lt; BaseParticlesType, BaseMaterialType &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">DiffusionReactionParticles</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_diffusion_reaction_particles-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::DiffusionReactionParticles&lt; BaseParticlesType, BaseMaterialType &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A group of particles with diffusion or/and reactions particle data.  
 <a href="class_s_p_h_1_1_diffusion_reaction_particles.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="diffusion__reaction_8h_source.html">diffusion_reaction.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab0a715f35dc6105562f81bac0eb2852b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#ab0a715f35dc6105562f81bac0eb2852b">DiffusionReactionParticles</a> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *body, <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt; *diffusion_reaction_material)</td></tr>
<tr class="separator:ab0a715f35dc6105562f81bac0eb2852b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4379007bb1811256664df04c72b9944"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#af4379007bb1811256664df04c72b9944">~DiffusionReactionParticles</a> ()</td></tr>
<tr class="separator:af4379007bb1811256664df04c72b9944"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a534d8183f43dc740aca5f76d0b992dec"><td class="memItemLeft" align="right" valign="top">map&lt; string, <a class="el" href="classsize__t.html">size_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a534d8183f43dc740aca5f76d0b992dec">getSpeciesIndexMap</a> ()</td></tr>
<tr class="separator:a534d8183f43dc740aca5f76d0b992dec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09bf0b07174be0b619530627f5774c4c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a09bf0b07174be0b619530627f5774c4c">AddABufferParticle</a> () override</td></tr>
<tr class="separator:a09bf0b07174be0b619530627f5774c4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a48badab521a63e762f1e2f1c948bab"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a9a48badab521a63e762f1e2f1c948bab">CopyFromAnotherParticle</a> (<a class="el" href="classsize__t.html">size_t</a> this_particle_index, <a class="el" href="classsize__t.html">size_t</a> another_particle_index) override</td></tr>
<tr class="separator:a9a48badab521a63e762f1e2f1c948bab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a348cd377a9c4a1a3cfb2173fb96ccf51"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a348cd377a9c4a1a3cfb2173fb96ccf51">swapParticles</a> (<a class="el" href="classsize__t.html">size_t</a> this_particle_index, <a class="el" href="classsize__t.html">size_t</a> that_particle_index) override</td></tr>
<tr class="separator:a348cd377a9c4a1a3cfb2173fb96ccf51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0543c0e1e0dbcf4d4e03497903351491"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a0543c0e1e0dbcf4d4e03497903351491">WriteParticlesToVtuFile</a> (ofstream &amp;output_file) override</td></tr>
<tr class="separator:a0543c0e1e0dbcf4d4e03497903351491"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f74782da8540d0a350211f7b53beebd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a7f74782da8540d0a350211f7b53beebd">WriteParticlesToPltFile</a> (ofstream &amp;output_file) override</td></tr>
<tr class="separator:a7f74782da8540d0a350211f7b53beebd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82147e897b82a8135a428df7e8f92c9e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a82147e897b82a8135a428df7e8f92c9e">WriteParticlesToXmlFile</a> (std::string &amp;filefullpath) override</td></tr>
<tr class="separator:a82147e897b82a8135a428df7e8f92c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96f28c3dd7d94848990362ed378104d7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a96f28c3dd7d94848990362ed378104d7">WriteParticlesToXmlForRestart</a> (std::string &amp;filefullpath) override</td></tr>
<tr class="separator:a96f28c3dd7d94848990362ed378104d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a629b06a5fecda43e3aa5438ab0fbc35a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#a629b06a5fecda43e3aa5438ab0fbc35a">ReadParticleFromXmlForRestart</a> (std::string &amp;filefullpath) override</td></tr>
<tr class="separator:a629b06a5fecda43e3aa5438ab0fbc35a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcbf8afc296e24b934741e33a312fabc"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#abcbf8afc296e24b934741e33a312fabc">PointToThisObject</a> () override</td></tr>
<tr class="separator:abcbf8afc296e24b934741e33a312fabc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ace9886026ada5948e27c14a0ce827b2f"><td class="memItemLeft" align="right" valign="top">StdLargeVec&lt; <a class="el" href="class_s_p_h_1_1_diffusion_reaction_data.html">DiffusionReactionData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#ace9886026ada5948e27c14a0ce827b2f">diffusion_reaction_data_</a></td></tr>
<tr class="separator:ace9886026ada5948e27c14a0ce827b2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:af4fd7b9302042ace3975690235e3cf25"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html#af4fd7b9302042ace3975690235e3cf25">number_of_species_</a></td></tr>
<tr class="separator:af4fd7b9302042ace3975690235e3cf25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a059f2ff136a16dc0bc8d126897d69651"><td class="memItemLeft" align="right" valign="top"><a id="a059f2ff136a16dc0bc8d126897d69651"></a>
map&lt; string, <a class="el" href="classsize__t.html">size_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>species_indexes_map_</b></td></tr>
<tr class="separator:a059f2ff136a16dc0bc8d126897d69651"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt;<br />
class SPH::DiffusionReactionParticles&lt; BaseParticlesType, BaseMaterialType &gt;</h3>

<p>A group of particles with diffusion or/and reactions particle data. </p>
<p>preclaimed classes </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab0a715f35dc6105562f81bac0eb2852b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0a715f35dc6105562f81bac0eb2852b">&#9670;&nbsp;</a></span>DiffusionReactionParticles()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::<a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">DiffusionReactionParticles</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *&#160;</td>
          <td class="paramname"><em>body</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt; *&#160;</td>
          <td class="paramname"><em>diffusion_reaction_material</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>

</div>
</div>
<a id="af4379007bb1811256664df04c72b9944"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4379007bb1811256664df04c72b9944">&#9670;&nbsp;</a></span>~DiffusionReactionParticles()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::~<a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">DiffusionReactionParticles</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a09bf0b07174be0b619530627f5774c4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09bf0b07174be0b619530627f5774c4c">&#9670;&nbsp;</a></span>AddABufferParticle()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::AddABufferParticle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>add buffer particles which latter may be realized for particle dynamics </p>

</div>
</div>
<a id="a9a48badab521a63e762f1e2f1c948bab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a48badab521a63e762f1e2f1c948bab">&#9670;&nbsp;</a></span>CopyFromAnotherParticle()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::CopyFromAnotherParticle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>this_particle_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>another_particle_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Copy state from another particle </p>

</div>
</div>
<a id="a534d8183f43dc740aca5f76d0b992dec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a534d8183f43dc740aca5f76d0b992dec">&#9670;&nbsp;</a></span>getSpeciesIndexMap()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">map&lt;string, <a class="el" href="classsize__t.html">size_t</a>&gt; <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::getSpeciesIndexMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get species index map. </p>

</div>
</div>
<a id="abcbf8afc296e24b934741e33a312fabc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcbf8afc296e24b934741e33a312fabc">&#9670;&nbsp;</a></span>PointToThisObject()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">DiffusionReactionParticles</a>&lt;<a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a>&gt;* <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::PointToThisObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Pointer to this object. </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_electro_physiology_particles.html#a4569b900d957e5bcbf5216b6e1c70f00">SPH::ElectroPhysiologyParticles</a>.</p>

</div>
</div>
<a id="a629b06a5fecda43e3aa5438ab0fbc35a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a629b06a5fecda43e3aa5438ab0fbc35a">&#9670;&nbsp;</a></span>ReadParticleFromXmlForRestart()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::ReadParticleFromXmlForRestart </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>filefullpath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initialize particle data from restart xml file. </p>

</div>
</div>
<a id="a348cd377a9c4a1a3cfb2173fb96ccf51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a348cd377a9c4a1a3cfb2173fb96ccf51">&#9670;&nbsp;</a></span>swapParticles()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::swapParticles </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>this_particle_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>that_particle_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Swapping particles. </p>

</div>
</div>
<a id="a7f74782da8540d0a350211f7b53beebd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f74782da8540d0a350211f7b53beebd">&#9670;&nbsp;</a></span>WriteParticlesToPltFile()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::WriteParticlesToPltFile </td>
          <td>(</td>
          <td class="paramtype">ofstream &amp;&#160;</td>
          <td class="paramname"><em>output_file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Write particle data in PLT format for Tecplot. </p>

</div>
</div>
<a id="a0543c0e1e0dbcf4d4e03497903351491"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0543c0e1e0dbcf4d4e03497903351491">&#9670;&nbsp;</a></span>WriteParticlesToVtuFile()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::WriteParticlesToVtuFile </td>
          <td>(</td>
          <td class="paramtype">ofstream &amp;&#160;</td>
          <td class="paramname"><em>output_file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Write particle data in VTU format for Paraview. </p>

</div>
</div>
<a id="a82147e897b82a8135a428df7e8f92c9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82147e897b82a8135a428df7e8f92c9e">&#9670;&nbsp;</a></span>WriteParticlesToXmlFile()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::WriteParticlesToXmlFile </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>filefullpath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Write particle data in XML format. </p>

</div>
</div>
<a id="a96f28c3dd7d94848990362ed378104d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96f28c3dd7d94848990362ed378104d7">&#9670;&nbsp;</a></span>WriteParticlesToXmlForRestart()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::WriteParticlesToXmlForRestart </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>filefullpath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Write particle data in XML format for restart. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ace9886026ada5948e27c14a0ce827b2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace9886026ada5948e27c14a0ce827b2f">&#9670;&nbsp;</a></span>diffusion_reaction_data_</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">StdLargeVec&lt;<a class="el" href="class_s_p_h_1_1_diffusion_reaction_data.html">DiffusionReactionData</a>&gt; <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::diffusion_reaction_data_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Vector of diffusion data. </p>

</div>
</div>
<a id="af4fd7b9302042ace3975690235e3cf25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4fd7b9302042ace3975690235e3cf25">&#9670;&nbsp;</a></span>number_of_species_</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsize__t.html">size_t</a> <a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">SPH::DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::number_of_species_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Total number of diffusion and reaction species . </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/materials/<a class="el" href="diffusion__reaction_8h_source.html">diffusion_reaction.h</a></li>
<li>SPHINXsys/src/shared/particles/<a class="el" href="diffusion__reaction__particles_8h_source.html">diffusion_reaction_particles.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
